cmake_minimum_required(VERSION 3.10)

# 数据结构算法
project(mathbasic)

#macro
add_definitions(-DUNICODE -D_UNICODE)

# compile features
# set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)

# 使用Qt的模块
set(MEQT_LIB Core)
find_package(Qt5 COMPONENTS REQUIRED ${MEQT_LIB})

find_package(OpenCV REQUIRED )

### exe
add_definitions(-DME_NO_VTK)


# 矩阵变化相关
add_executable(alg_transform alg_transform.cpp
    ${ALGORITHM_TRANSFORM_SRCS}
    ${COMMON_UTILS_SRCS} ${ME_MEMATH_SRCS} ${ME_MEMATH_HDRS} ${ME_EIGENMATH}
    )
qt5_use_modules(alg_transform ${MEQT_LIB})
target_link_libraries(alg_transform ${OpenCV_LIBS})

add_executable(alg_gaussian alg_gaussian.cpp
    )
qt5_use_modules(alg_gaussian ${MEQT_LIB})


add_executable(alg_math alg_math.cpp)
